package games.ninJumpDx.ui.factorys
{
	import games.ninJumpDx.ui.actions.Gargoyle;
	import games.ninJumpDx.ui.actions.GargoyleFrozen;
	
	import interfaces.IAction;
	import utils.ActionFactory;

	public class GargoyleFactory extends ActionFactory
	{
		public function GargoyleFactory()
		{
			super();
		}
		
		override protected function createAction(name:String=null):IAction
		{
			switch(name)
			{
				case "gargoyle_frozen":
				case "gargoyle_frozen_reversion":
					return new GargoyleFrozen(name);
				case "gargoyle":
				case "gargoyle_reversion":
					return new Gargoyle(name);
			}
			return null;
		}
	}
}